#ifndef MAINSCENCE_H
#define MAINSCENCE_H

#include <QMainWindow>
#include <QPaintEvent>
#include "mybutton.h"
#include "startwidget.h"
#include "chooseleavewidget.h"
#include "gamewidget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class mainScence; }
QT_END_NAMESPACE

class mainScence : public QMainWindow
{
        Q_OBJECT

    public:
        mainScence(QWidget *parent = nullptr);
        ~mainScence();
        startWidget * startpane;
        ChooseLeaveWidget * levlpane;
        void gotoGamepaneSlot(GameWidget *);
        void setCentralWidget(QWidget *);

    private:
        Ui::mainScence *ui;


};
#endif // MAINSCENCE_H
